package com.example.assetmanagement.domain;

import lombok.Data;

import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
public class MaintenancePlan {
    private Long id;
    private String name;
    private String type;
    private Integer status; // 0 未开始 1 进行中 2 已完成 3 已暂停
    private LocalDate planStart;
    private LocalDate planEnd;
    private LocalDate startDate;
    private LocalDate endDate;
    private String frequency;
    private Long maintainer; // 用户ID
    private Integer progress; // 0-100
    private String description;
    private LocalDateTime createdAt;
    private LocalDateTime updatedAt;
} 